package cn.life.business.role.entity.po;

import cn.life.common.entity.model.Page;

import java.util.Date;

/**
 * @Description:    用户角色Po实体
 *
 * @Author 李佳明
 * @Date 2018-07-25 08:57
 */
public class RolePo extends Page{

    /**
     *  角色Id
     */
    private Long roleId;
    /**
     *  用户Id
     */
    private Long userId;
    /**
     *  用户名称
     */
    private String userName;
    /**
     *  工厂Id
     */
    private Long factoryId;
    /**
     *  项目Id
     */
    private Long projectId;
    /**
     *  用户角色（1.技术工长，2.技术监管，3.库管人员，4.采购人员，5.管理人员，6.文献人员）
     */
    private int userRole;
    /**
     *  开始时间
     */
    private Date startDate;
    /**
     *  结束时间
     */
    private Date endDate;
    /**
     *  关系状态（0.已停用，1.启用中）
     */
    private Integer relationState;
    /**
     *  操作人Id
     */
    private Long oprUserId;
    /**
     *  操作人名称
     */
    private String oprUserName;
    /**
     *  操作时间
     */
    private Date oprDate;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public int getUserRole() {
        return userRole;
    }

    public void setUserRole(int userRole) {
        this.userRole = userRole;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getRelationState() {
        return relationState;
    }

    public void setRelationState(Integer relationState) {
        this.relationState = relationState;
    }

    public Long getOprUserId() {
        return oprUserId;
    }

    public void setOprUserId(Long oprUserId) {
        this.oprUserId = oprUserId;
    }

    public String getOprUserName() {
        return oprUserName;
    }

    public void setOprUserName(String oprUserName) {
        this.oprUserName = oprUserName;
    }

    public Date getOprDate() {
        return oprDate;
    }

    public void setOprDate(Date oprDate) {
        this.oprDate = oprDate;
    }
}

